<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
          margin:0;
          padding:0;
        }
        /* .list{
            height:100px;
        } */
        /* .list::after{
            content:'';
            clear:both;  
            display:block;
        } */
         .list{
            overflow:hidden
         }
        li{
            width: 300px;
            height: 100px;
            float:left; 
        }
        
        li:nth-child(1){
            background-color: pink;
        }
         li:nth-child(2){
            background-color: rgb(192, 237, 255);
        }
         li:nth-child(3){
            background-color: rgb(192, 255, 200);
        }
         li:nth-child(4){
            background-color:rgb(192, 196, 255);
        }
    </style>
</head>
<body>
    <ul class="list">
    <li>1</li>
    <li>2</li>
    <li>13</li>
    <li>14</li>  
    </ul> 
    <h2 class="title">Hello</h2>
</body>
</html>